package com.e3.basdoc.goodscls.client;

import com.e3.basdoc.goodscls.model.GoodsClsModel;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;
import com.e3.template.tgf.TGFRefDialog;
import com.e3.template.tgf.TGFTreePanelAsync;

public class GoodsClsRefDialog extends TGFRefDialog<GoodsClsModel> {

	@Override
	protected String getRefDialogTitle() {
		return GoodsClsMessages.INSTANCE.title_goodscls_refdialog();
	}

	@Override
	protected TGFGridPanel<GoodsClsModel> createGridPanel() {
		return new GoodsClsGridPanel();
	}

	@Override
	protected TGFQueryDialog<GoodsClsModel> createQueryDialog() {
		return new GoodsClsQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return GoodsClsMessages.INSTANCE.local_name();
	}

	@Override
	protected TGFTreePanelAsync<GoodsClsModel> createTreePanel() {
		return new GoodsClsTreePanel();
	}

}
